a(a(append, nil), ys) → ys
a(a(append, a(a(cons, x), xs)), ys) → a(a(cons, x), a(a(append, xs), ys))
a(a(filter, f), nil) → nil
a(a(filter, f), a(a(cons, x), xs)) → a(a(a(if, a(f, x)), x), a(a(filter, f), xs))
a(a(le, 0), y) → true
a(a(le, a(s, x)), 0) → false
a(a(le, a(s, x)), a(s, y)) → a(a(le, x), y)
a(a(a(if, true), x), xs) → a(a(cons, x), xs)
a(a(a(if, false), x), xs) → xs
a(a(not, f), b) → a(not2, a(f, b))
a(not2, true) → false
a(not2, false) → true
a(qs, nil) → nil
a(qs, a(a(cons, x), xs)) → a(a(append, a(qs, a(a(filter, a(le, x)), xs))), a(a(cons, x), a(qs, a(a(filter, a(not, a(le, x))), xs))))
↳ QTRS
↳ Overlay + Local Confluence
a(a(append, nil), ys) → ys
a(a(append, a(a(cons, x), xs)), ys) → a(a(cons, x), a(a(append, xs), ys))
a(a(filter, f), nil) → nil
a(a(filter, f), a(a(cons, x), xs)) → a(a(a(if, a(f, x)), x), a(a(filter, f), xs))
a(a(le, 0), y) → true
a(a(le, a(s, x)), 0) → false
a(a(le, a(s, x)), a(s, y)) → a(a(le, x), y)
a(a(a(if, true), x), xs) → a(a(cons, x), xs)
a(a(a(if, false), x), xs) → xs
a(a(not, f), b) → a(not2, a(f, b))
a(not2, true) → false
a(not2, false) → true
a(qs, nil) → nil
a(qs, a(a(cons, x), xs)) → a(a(append, a(qs, a(a(filter, a(le, x)), xs))), a(a(cons, x), a(qs, a(a(filter, a(not, a(le, x))), xs))))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
a(a(append, nil), ys) → ys
a(a(append, a(a(cons, x), xs)), ys) → a(a(cons, x), a(a(append, xs), ys))
a(a(filter, f), nil) → nil
a(a(filter, f), a(a(cons, x), xs)) → a(a(a(if, a(f, x)), x), a(a(filter, f), xs))
a(a(le, 0), y) → true
a(a(le, a(s, x)), 0) → false
a(a(le, a(s, x)), a(s, y)) → a(a(le, x), y)
a(a(a(if, true), x), xs) → a(a(cons, x), xs)
a(a(a(if, false), x), xs) → xs
a(a(not, f), b) → a(not2, a(f, b))
a(not2, true) → false
a(not2, false) → true
a(qs, nil) → nil
a(qs, a(a(cons, x), xs)) → a(a(append, a(qs, a(a(filter, a(le, x)), xs))), a(a(cons, x), a(qs, a(a(filter, a(not, a(le, x))), xs))))
a(a(append, nil), x0)
a(a(append, a(a(cons, x0), x1)), x2)
a(a(filter, x0), nil)
a(a(filter, x0), a(a(cons, x1), x2))
a(a(le, 0), x0)
a(a(le, a(s, x0)), 0)
a(a(le, a(s, x0)), a(s, x1))
a(a(a(if, true), x0), x1)
a(a(a(if, false), x0), x1)
a(a(not, x0), x1)
a(not2, true)
a(not2, false)
a(qs, nil)
a(qs, a(a(cons, x0), x1))
A(qs, a(a(cons, x), xs)) → A(not, a(le, x))
A(a(append, a(a(cons, x), xs)), ys) → A(a(cons, x), a(a(append, xs), ys))
A(qs, a(a(cons, x), xs)) → A(a(append, a(qs, a(a(filter, a(le, x)), xs))), a(a(cons, x), a(qs, a(a(filter, a(not, a(le, x))), xs))))
A(qs, a(a(cons, x), xs)) → A(le, x)
A(qs, a(a(cons, x), xs)) → A(append, a(qs, a(a(filter, a(le, x)), xs)))
A(a(a(if, true), x), xs) → A(cons, x)
A(a(a(if, true), x), xs) → A(a(cons, x), xs)
A(a(filter, f), a(a(cons, x), xs)) → A(a(a(if, a(f, x)), x), a(a(filter, f), xs))
A(qs, a(a(cons, x), xs)) → A(a(cons, x), a(qs, a(a(filter, a(not, a(le, x))), xs)))
A(a(le, a(s, x)), a(s, y)) → A(a(le, x), y)
A(a(append, a(a(cons, x), xs)), ys) → A(a(append, xs), ys)
A(qs, a(a(cons, x), xs)) → A(filter, a(le, x))
A(a(le, a(s, x)), a(s, y)) → A(le, x)
A(a(filter, f), a(a(cons, x), xs)) → A(a(filter, f), xs)
A(a(append, a(a(cons, x), xs)), ys) → A(append, xs)
A(qs, a(a(cons, x), xs)) → A(qs, a(a(filter, a(le, x)), xs))
A(qs, a(a(cons, x), xs)) → A(a(filter, a(le, x)), xs)
A(qs, a(a(cons, x), xs)) → A(qs, a(a(filter, a(not, a(le, x))), xs))
A(a(not, f), b) → A(not2, a(f, b))
A(a(filter, f), a(a(cons, x), xs)) → A(f, x)
A(qs, a(a(cons, x), xs)) → A(filter, a(not, a(le, x)))
A(qs, a(a(cons, x), xs)) → A(a(filter, a(not, a(le, x))), xs)
A(a(filter, f), a(a(cons, x), xs)) → A(a(if, a(f, x)), x)
A(a(not, f), b) → A(f, b)
A(a(filter, f), a(a(cons, x), xs)) → A(if, a(f, x))
a(a(append, nil), ys) → ys
a(a(append, a(a(cons, x), xs)), ys) → a(a(cons, x), a(a(append, xs), ys))
a(a(filter, f), nil) → nil
a(a(filter, f), a(a(cons, x), xs)) → a(a(a(if, a(f, x)), x), a(a(filter, f), xs))
a(a(le, 0), y) → true
a(a(le, a(s, x)), 0) → false
a(a(le, a(s, x)), a(s, y)) → a(a(le, x), y)
a(a(a(if, true), x), xs) → a(a(cons, x), xs)
a(a(a(if, false), x), xs) → xs
a(a(not, f), b) → a(not2, a(f, b))
a(not2, true) → false
a(not2, false) → true
a(qs, nil) → nil
a(qs, a(a(cons, x), xs)) → a(a(append, a(qs, a(a(filter, a(le, x)), xs))), a(a(cons, x), a(qs, a(a(filter, a(not, a(le, x))), xs))))
a(a(append, nil), x0)
a(a(append, a(a(cons, x0), x1)), x2)
a(a(filter, x0), nil)
a(a(filter, x0), a(a(cons, x1), x2))
a(a(le, 0), x0)
a(a(le, a(s, x0)), 0)
a(a(le, a(s, x0)), a(s, x1))
a(a(a(if, true), x0), x1)
a(a(a(if, false), x0), x1)
a(a(not, x0), x1)
a(not2, true)
a(not2, false)
a(qs, nil)
a(qs, a(a(cons, x0), x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
A(qs, a(a(cons, x), xs)) → A(not, a(le, x))
A(a(append, a(a(cons, x), xs)), ys) → A(a(cons, x), a(a(append, xs), ys))
A(qs, a(a(cons, x), xs)) → A(a(append, a(qs, a(a(filter, a(le, x)), xs))), a(a(cons, x), a(qs, a(a(filter, a(not, a(le, x))), xs))))
A(qs, a(a(cons, x), xs)) → A(le, x)
A(qs, a(a(cons, x), xs)) → A(append, a(qs, a(a(filter, a(le, x)), xs)))
A(a(a(if, true), x), xs) → A(cons, x)
A(a(a(if, true), x), xs) → A(a(cons, x), xs)
A(a(filter, f), a(a(cons, x), xs)) → A(a(a(if, a(f, x)), x), a(a(filter, f), xs))
A(qs, a(a(cons, x), xs)) → A(a(cons, x), a(qs, a(a(filter, a(not, a(le, x))), xs)))
A(a(le, a(s, x)), a(s, y)) → A(a(le, x), y)
A(a(append, a(a(cons, x), xs)), ys) → A(a(append, xs), ys)
A(qs, a(a(cons, x), xs)) → A(filter, a(le, x))
A(a(le, a(s, x)), a(s, y)) → A(le, x)
A(a(filter, f), a(a(cons, x), xs)) → A(a(filter, f), xs)
A(a(append, a(a(cons, x), xs)), ys) → A(append, xs)
A(qs, a(a(cons, x), xs)) → A(qs, a(a(filter, a(le, x)), xs))
A(qs, a(a(cons, x), xs)) → A(a(filter, a(le, x)), xs)
A(qs, a(a(cons, x), xs)) → A(qs, a(a(filter, a(not, a(le, x))), xs))
A(a(not, f), b) → A(not2, a(f, b))
A(a(filter, f), a(a(cons, x), xs)) → A(f, x)
A(qs, a(a(cons, x), xs)) → A(filter, a(not, a(le, x)))
A(qs, a(a(cons, x), xs)) → A(a(filter, a(not, a(le, x))), xs)
A(a(filter, f), a(a(cons, x), xs)) → A(a(if, a(f, x)), x)
A(a(not, f), b) → A(f, b)
A(a(filter, f), a(a(cons, x), xs)) → A(if, a(f, x))
a(a(append, nil), ys) → ys
a(a(append, a(a(cons, x), xs)), ys) → a(a(cons, x), a(a(append, xs), ys))
a(a(filter, f), nil) → nil
a(a(filter, f), a(a(cons, x), xs)) → a(a(a(if, a(f, x)), x), a(a(filter, f), xs))
a(a(le, 0), y) → true
a(a(le, a(s, x)), 0) → false
a(a(le, a(s, x)), a(s, y)) → a(a(le, x), y)
a(a(a(if, true), x), xs) → a(a(cons, x), xs)
a(a(a(if, false), x), xs) → xs
a(a(not, f), b) → a(not2, a(f, b))
a(not2, true) → false
a(not2, false) → true
a(qs, nil) → nil
a(qs, a(a(cons, x), xs)) → a(a(append, a(qs, a(a(filter, a(le, x)), xs))), a(a(cons, x), a(qs, a(a(filter, a(not, a(le, x))), xs))))
a(a(append, nil), x0)
a(a(append, a(a(cons, x0), x1)), x2)
a(a(filter, x0), nil)
a(a(filter, x0), a(a(cons, x1), x2))
a(a(le, 0), x0)
a(a(le, a(s, x0)), 0)
a(a(le, a(s, x0)), a(s, x1))
a(a(a(if, true), x0), x1)
a(a(a(if, false), x0), x1)
a(a(not, x0), x1)
a(not2, true)
a(not2, false)
a(qs, nil)
a(qs, a(a(cons, x0), x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDP
A(a(le, a(s, x)), a(s, y)) → A(a(le, x), y)
a(a(append, nil), ys) → ys
a(a(append, a(a(cons, x), xs)), ys) → a(a(cons, x), a(a(append, xs), ys))
a(a(filter, f), nil) → nil
a(a(filter, f), a(a(cons, x), xs)) → a(a(a(if, a(f, x)), x), a(a(filter, f), xs))
a(a(le, 0), y) → true
a(a(le, a(s, x)), 0) → false
a(a(le, a(s, x)), a(s, y)) → a(a(le, x), y)
a(a(a(if, true), x), xs) → a(a(cons, x), xs)
a(a(a(if, false), x), xs) → xs
a(a(not, f), b) → a(not2, a(f, b))
a(not2, true) → false
a(not2, false) → true
a(qs, nil) → nil
a(qs, a(a(cons, x), xs)) → a(a(append, a(qs, a(a(filter, a(le, x)), xs))), a(a(cons, x), a(qs, a(a(filter, a(not, a(le, x))), xs))))
a(a(append, nil), x0)
a(a(append, a(a(cons, x0), x1)), x2)
a(a(filter, x0), nil)
a(a(filter, x0), a(a(cons, x1), x2))
a(a(le, 0), x0)
a(a(le, a(s, x0)), 0)
a(a(le, a(s, x0)), a(s, x1))
a(a(a(if, true), x0), x1)
a(a(a(if, false), x0), x1)
a(a(not, x0), x1)
a(not2, true)
a(not2, false)
a(qs, nil)
a(qs, a(a(cons, x0), x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ ATransformationProof
↳ QDP
↳ QDP
A(a(le, a(s, x)), a(s, y)) → A(a(le, x), y)
a(a(append, nil), x0)
a(a(append, a(a(cons, x0), x1)), x2)
a(a(filter, x0), nil)
a(a(filter, x0), a(a(cons, x1), x2))
a(a(le, 0), x0)
a(a(le, a(s, x0)), 0)
a(a(le, a(s, x0)), a(s, x1))
a(a(a(if, true), x0), x1)
a(a(a(if, false), x0), x1)
a(a(not, x0), x1)
a(not2, true)
a(not2, false)
a(qs, nil)
a(qs, a(a(cons, x0), x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ ATransformationProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDP
le1(s(x), s(y)) → le1(x, y)
append(nil, x0)
append(cons(x0, x1), x2)
filter(x0, nil)
filter(x0, cons(x1, x2))
le(0, x0)
le(s(x0), 0)
le(s(x0), s(x1))
if(true, x0, x1)
if(false, x0, x1)
not(x0, x1)
not2(true)
not2(false)
qs(nil)
qs(cons(x0, x1))
append(nil, x0)
append(cons(x0, x1), x2)
filter(x0, nil)
filter(x0, cons(x1, x2))
le(0, x0)
le(s(x0), 0)
le(s(x0), s(x1))
if(true, x0, x1)
if(false, x0, x1)
not(x0, x1)
not2(true)
not2(false)
qs(nil)
qs(cons(x0, x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ ATransformationProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
↳ QDP
le1(s(x), s(y)) → le1(x, y)
From the DPs we obtained the following set of size-change graphs:
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
A(a(append, a(a(cons, x), xs)), ys) → A(a(append, xs), ys)
a(a(append, nil), ys) → ys
a(a(append, a(a(cons, x), xs)), ys) → a(a(cons, x), a(a(append, xs), ys))
a(a(filter, f), nil) → nil
a(a(filter, f), a(a(cons, x), xs)) → a(a(a(if, a(f, x)), x), a(a(filter, f), xs))
a(a(le, 0), y) → true
a(a(le, a(s, x)), 0) → false
a(a(le, a(s, x)), a(s, y)) → a(a(le, x), y)
a(a(a(if, true), x), xs) → a(a(cons, x), xs)
a(a(a(if, false), x), xs) → xs
a(a(not, f), b) → a(not2, a(f, b))
a(not2, true) → false
a(not2, false) → true
a(qs, nil) → nil
a(qs, a(a(cons, x), xs)) → a(a(append, a(qs, a(a(filter, a(le, x)), xs))), a(a(cons, x), a(qs, a(a(filter, a(not, a(le, x))), xs))))
a(a(append, nil), x0)
a(a(append, a(a(cons, x0), x1)), x2)
a(a(filter, x0), nil)
a(a(filter, x0), a(a(cons, x1), x2))
a(a(le, 0), x0)
a(a(le, a(s, x0)), 0)
a(a(le, a(s, x0)), a(s, x1))
a(a(a(if, true), x0), x1)
a(a(a(if, false), x0), x1)
a(a(not, x0), x1)
a(not2, true)
a(not2, false)
a(qs, nil)
a(qs, a(a(cons, x0), x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ ATransformationProof
↳ QDP
A(a(append, a(a(cons, x), xs)), ys) → A(a(append, xs), ys)
a(a(append, nil), x0)
a(a(append, a(a(cons, x0), x1)), x2)
a(a(filter, x0), nil)
a(a(filter, x0), a(a(cons, x1), x2))
a(a(le, 0), x0)
a(a(le, a(s, x0)), 0)
a(a(le, a(s, x0)), a(s, x1))
a(a(a(if, true), x0), x1)
a(a(a(if, false), x0), x1)
a(a(not, x0), x1)
a(not2, true)
a(not2, false)
a(qs, nil)
a(qs, a(a(cons, x0), x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ ATransformationProof
↳ QDP
↳ QReductionProof
↳ QDP
append1(cons(x, xs), ys) → append1(xs, ys)
append(nil, x0)
append(cons(x0, x1), x2)
filter(x0, nil)
filter(x0, cons(x1, x2))
le(0, x0)
le(s(x0), 0)
le(s(x0), s(x1))
if(true, x0, x1)
if(false, x0, x1)
not(x0, x1)
not2(true)
not2(false)
qs(nil)
qs(cons(x0, x1))
append(nil, x0)
append(cons(x0, x1), x2)
filter(x0, nil)
filter(x0, cons(x1, x2))
le(0, x0)
le(s(x0), 0)
le(s(x0), s(x1))
if(true, x0, x1)
if(false, x0, x1)
not(x0, x1)
not2(true)
not2(false)
qs(nil)
qs(cons(x0, x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ ATransformationProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
append1(cons(x, xs), ys) → append1(xs, ys)
From the DPs we obtained the following set of size-change graphs:
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDPApplicativeOrderProof
A(qs, a(a(cons, x), xs)) → A(a(filter, a(not, a(le, x))), xs)
A(a(filter, f), a(a(cons, x), xs)) → A(a(filter, f), xs)
A(qs, a(a(cons, x), xs)) → A(a(filter, a(le, x)), xs)
A(qs, a(a(cons, x), xs)) → A(qs, a(a(filter, a(le, x)), xs))
A(qs, a(a(cons, x), xs)) → A(qs, a(a(filter, a(not, a(le, x))), xs))
A(a(not, f), b) → A(f, b)
A(a(filter, f), a(a(cons, x), xs)) → A(f, x)
a(a(append, nil), ys) → ys
a(a(append, a(a(cons, x), xs)), ys) → a(a(cons, x), a(a(append, xs), ys))
a(a(filter, f), nil) → nil
a(a(filter, f), a(a(cons, x), xs)) → a(a(a(if, a(f, x)), x), a(a(filter, f), xs))
a(a(le, 0), y) → true
a(a(le, a(s, x)), 0) → false
a(a(le, a(s, x)), a(s, y)) → a(a(le, x), y)
a(a(a(if, true), x), xs) → a(a(cons, x), xs)
a(a(a(if, false), x), xs) → xs
a(a(not, f), b) → a(not2, a(f, b))
a(not2, true) → false
a(not2, false) → true
a(qs, nil) → nil
a(qs, a(a(cons, x), xs)) → a(a(append, a(qs, a(a(filter, a(le, x)), xs))), a(a(cons, x), a(qs, a(a(filter, a(not, a(le, x))), xs))))
a(a(append, nil), x0)
a(a(append, a(a(cons, x0), x1)), x2)
a(a(filter, x0), nil)
a(a(filter, x0), a(a(cons, x1), x2))
a(a(le, 0), x0)
a(a(le, a(s, x0)), 0)
a(a(le, a(s, x0)), a(s, x1))
a(a(a(if, true), x0), x1)
a(a(a(if, false), x0), x1)
a(a(not, x0), x1)
a(not2, true)
a(not2, false)
a(qs, nil)
a(qs, a(a(cons, x0), x1))
cons(x, xs) → xs
cons(x, xs) → xs
cons(x, xs) → xs
cons(x, xs) → filter(le(x), xs)
cons(x, xs) → filter(not(le(x)), xs)
b → b
cons(x, xs) → x
if(true, x, xs) → cons(x, xs)
filter(f, nil) → nil
if(false, x, xs) → xs
filter(f, cons(x, xs)) → if(notProper, x, filter(f, xs))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
A(qs, a(a(cons, x), xs)) → A(a(filter, a(not, a(le, x))), xs)
A(a(filter, f), a(a(cons, x), xs)) → A(a(filter, f), xs)
A(qs, a(a(cons, x), xs)) → A(a(filter, a(le, x)), xs)
A(a(filter, f), a(a(cons, x), xs)) → A(f, x)
Used ordering: Polynomial interpretation [25]:
A(qs, a(a(cons, x), xs)) → A(qs, a(a(filter, a(le, x)), xs))
A(qs, a(a(cons, x), xs)) → A(qs, a(a(filter, a(not, a(le, x))), xs))
A(a(not, f), b) → A(f, b)
POL(cons(x1, x2)) = 1 + x1 + x2
POL(false) = 0
POL(filter(x1, x2)) = x1 + x2
POL(if(x1, x2, x3)) = 1 + x2 + x3
POL(le(x1)) = 1
POL(nil) = 0
POL(not(x1)) = 1
POL(notProper) = 0
POL(true) = 0
a(a(a(if, true), x), xs) → a(a(cons, x), xs)
a(a(filter, f), nil) → nil
a(a(a(if, false), x), xs) → xs
a(a(filter, f), a(a(cons, x), xs)) → a(a(a(if, a(f, x)), x), a(a(filter, f), xs))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDPApplicativeOrderProof
↳ QDP
↳ DependencyGraphProof
A(qs, a(a(cons, x), xs)) → A(qs, a(a(filter, a(le, x)), xs))
A(qs, a(a(cons, x), xs)) → A(qs, a(a(filter, a(not, a(le, x))), xs))
A(a(not, f), b) → A(f, b)
a(a(append, nil), ys) → ys
a(a(append, a(a(cons, x), xs)), ys) → a(a(cons, x), a(a(append, xs), ys))
a(a(filter, f), nil) → nil
a(a(filter, f), a(a(cons, x), xs)) → a(a(a(if, a(f, x)), x), a(a(filter, f), xs))
a(a(le, 0), y) → true
a(a(le, a(s, x)), 0) → false
a(a(le, a(s, x)), a(s, y)) → a(a(le, x), y)
a(a(a(if, true), x), xs) → a(a(cons, x), xs)
a(a(a(if, false), x), xs) → xs
a(a(not, f), b) → a(not2, a(f, b))
a(not2, true) → false
a(not2, false) → true
a(qs, nil) → nil
a(qs, a(a(cons, x), xs)) → a(a(append, a(qs, a(a(filter, a(le, x)), xs))), a(a(cons, x), a(qs, a(a(filter, a(not, a(le, x))), xs))))
a(a(append, nil), x0)
a(a(append, a(a(cons, x0), x1)), x2)
a(a(filter, x0), nil)
a(a(filter, x0), a(a(cons, x1), x2))
a(a(le, 0), x0)
a(a(le, a(s, x0)), 0)
a(a(le, a(s, x0)), a(s, x1))
a(a(a(if, true), x0), x1)
a(a(a(if, false), x0), x1)
a(a(not, x0), x1)
a(not2, true)
a(not2, false)
a(qs, nil)
a(qs, a(a(cons, x0), x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDPApplicativeOrderProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPApplicativeOrderProof
↳ QDP
A(qs, a(a(cons, x), xs)) → A(qs, a(a(filter, a(le, x)), xs))
A(qs, a(a(cons, x), xs)) → A(qs, a(a(filter, a(not, a(le, x))), xs))
a(a(append, nil), ys) → ys
a(a(append, a(a(cons, x), xs)), ys) → a(a(cons, x), a(a(append, xs), ys))
a(a(filter, f), nil) → nil
a(a(filter, f), a(a(cons, x), xs)) → a(a(a(if, a(f, x)), x), a(a(filter, f), xs))
a(a(le, 0), y) → true
a(a(le, a(s, x)), 0) → false
a(a(le, a(s, x)), a(s, y)) → a(a(le, x), y)
a(a(a(if, true), x), xs) → a(a(cons, x), xs)
a(a(a(if, false), x), xs) → xs
a(a(not, f), b) → a(not2, a(f, b))
a(not2, true) → false
a(not2, false) → true
a(qs, nil) → nil
a(qs, a(a(cons, x), xs)) → a(a(append, a(qs, a(a(filter, a(le, x)), xs))), a(a(cons, x), a(qs, a(a(filter, a(not, a(le, x))), xs))))
a(a(append, nil), x0)
a(a(append, a(a(cons, x0), x1)), x2)
a(a(filter, x0), nil)
a(a(filter, x0), a(a(cons, x1), x2))
a(a(le, 0), x0)
a(a(le, a(s, x0)), 0)
a(a(le, a(s, x0)), a(s, x1))
a(a(a(if, true), x0), x1)
a(a(a(if, false), x0), x1)
a(a(not, x0), x1)
a(not2, true)
a(not2, false)
a(qs, nil)
a(qs, a(a(cons, x0), x1))
qs1(cons(x, xs)) → qs1(filter(le(x), xs))
qs1(cons(x, xs)) → qs1(filter(not(le(x)), xs))
if(true, x, xs) → cons(x, xs)
filter(f, nil) → nil
if(false, x, xs) → xs
filter(f, cons(x, xs)) → if(notProper, x, filter(f, xs))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
A(qs, a(a(cons, x), xs)) → A(qs, a(a(filter, a(le, x)), xs))
A(qs, a(a(cons, x), xs)) → A(qs, a(a(filter, a(not, a(le, x))), xs))
POL(cons(x1, x2)) = 1 + x1 + x2
POL(false) = 0
POL(filter(x1, x2)) = x2
POL(if(x1, x2, x3)) = 1 + x2 + x3
POL(le(x1)) = 0
POL(nil) = 0
POL(not(x1)) = 0
POL(notProper) = 0
POL(qs1(x1)) = x1
POL(true) = 0
a(a(a(if, true), x), xs) → a(a(cons, x), xs)
a(a(filter, f), nil) → nil
a(a(a(if, false), x), xs) → xs
a(a(filter, f), a(a(cons, x), xs)) → a(a(a(if, a(f, x)), x), a(a(filter, f), xs))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDPApplicativeOrderProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPApplicativeOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
a(a(append, nil), ys) → ys
a(a(append, a(a(cons, x), xs)), ys) → a(a(cons, x), a(a(append, xs), ys))
a(a(filter, f), nil) → nil
a(a(filter, f), a(a(cons, x), xs)) → a(a(a(if, a(f, x)), x), a(a(filter, f), xs))
a(a(le, 0), y) → true
a(a(le, a(s, x)), 0) → false
a(a(le, a(s, x)), a(s, y)) → a(a(le, x), y)
a(a(a(if, true), x), xs) → a(a(cons, x), xs)
a(a(a(if, false), x), xs) → xs
a(a(not, f), b) → a(not2, a(f, b))
a(not2, true) → false
a(not2, false) → true
a(qs, nil) → nil
a(qs, a(a(cons, x), xs)) → a(a(append, a(qs, a(a(filter, a(le, x)), xs))), a(a(cons, x), a(qs, a(a(filter, a(not, a(le, x))), xs))))
a(a(append, nil), x0)
a(a(append, a(a(cons, x0), x1)), x2)
a(a(filter, x0), nil)
a(a(filter, x0), a(a(cons, x1), x2))
a(a(le, 0), x0)
a(a(le, a(s, x0)), 0)
a(a(le, a(s, x0)), a(s, x1))
a(a(a(if, true), x0), x1)
a(a(a(if, false), x0), x1)
a(a(not, x0), x1)
a(not2, true)
a(not2, false)
a(qs, nil)
a(qs, a(a(cons, x0), x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDPApplicativeOrderProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
A(a(not, f), b) → A(f, b)
a(a(append, nil), ys) → ys
a(a(append, a(a(cons, x), xs)), ys) → a(a(cons, x), a(a(append, xs), ys))
a(a(filter, f), nil) → nil
a(a(filter, f), a(a(cons, x), xs)) → a(a(a(if, a(f, x)), x), a(a(filter, f), xs))
a(a(le, 0), y) → true
a(a(le, a(s, x)), 0) → false
a(a(le, a(s, x)), a(s, y)) → a(a(le, x), y)
a(a(a(if, true), x), xs) → a(a(cons, x), xs)
a(a(a(if, false), x), xs) → xs
a(a(not, f), b) → a(not2, a(f, b))
a(not2, true) → false
a(not2, false) → true
a(qs, nil) → nil
a(qs, a(a(cons, x), xs)) → a(a(append, a(qs, a(a(filter, a(le, x)), xs))), a(a(cons, x), a(qs, a(a(filter, a(not, a(le, x))), xs))))
a(a(append, nil), x0)
a(a(append, a(a(cons, x0), x1)), x2)
a(a(filter, x0), nil)
a(a(filter, x0), a(a(cons, x1), x2))
a(a(le, 0), x0)
a(a(le, a(s, x0)), 0)
a(a(le, a(s, x0)), a(s, x1))
a(a(a(if, true), x0), x1)
a(a(a(if, false), x0), x1)
a(a(not, x0), x1)
a(not2, true)
a(not2, false)
a(qs, nil)
a(qs, a(a(cons, x0), x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDPApplicativeOrderProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDPSizeChangeProof
A(a(not, f), b) → A(f, b)
a(a(append, nil), x0)
a(a(append, a(a(cons, x0), x1)), x2)
a(a(filter, x0), nil)
a(a(filter, x0), a(a(cons, x1), x2))
a(a(le, 0), x0)
a(a(le, a(s, x0)), 0)
a(a(le, a(s, x0)), a(s, x1))
a(a(a(if, true), x0), x1)
a(a(a(if, false), x0), x1)
a(a(not, x0), x1)
a(not2, true)
a(not2, false)
a(qs, nil)
a(qs, a(a(cons, x0), x1))
From the DPs we obtained the following set of size-change graphs: